﻿#ifndef _GUID_H
#define _GUID_H
#pragma once

#include "kernel/OgreDataStream.h"
#include "kernel/OgreStringVector.h"
#include "kernel/Referenced.h"
#include "kernel/observer_ptr.h"

namespace FD
{
	namespace Kernel
	{
		class FD_Kernel_Export CGuid
		{
		public:
			CGuid();

		public:
			/// <summary>
			/// 获取一个新的guid
			/// </summary>
			/// <param name=""></param>
			/// <returns></returns>
			static String NewGuid();

			/// <summary>
			/// 获取用户guid
			/// </summary>
			/// <param name=""></param>
			/// <returns></returns>
			static String getUserGuid();

			/// <summary>
			/// 获取带有用户名称的guid
			/// </summary>
			/// <param name=""></param>
			/// <returns></returns>
			static String getUserGuidWithUserName();
		};
	}
}

#endif
